package edu.pku.sei.autounit.reflect.jdt;

import edu.pku.sei.autounit.reflect.Class;
import edu.pku.sei.autounit.reflect.Constructor;
import edu.pku.sei.autounit.reflect.Type;
import edu.pku.sei.autounit.reflect.TypeParameter;

public class DefaultConstructor implements Constructor{

	private Class declaringClass;
	protected DefaultConstructor(Class declaringClass ){
		this.declaringClass = declaringClass;
	}
	
	public Class getDeclaringClass() {
		return declaringClass;
	}

	
	public boolean hasException() {
		return false;
	}

	
	public Type[] getParameters() {
		return new Type[0];
	}

	
	public String getSource() {
		return null;
	}
	
	public TypeParameter getTypeParameter(String name) {
		return null;
	}
	
	public Type[] getContexts() {
		return new Type[0];
	}
	
	public boolean isAbstract() {
		return false;
	}
	
	public boolean isFinal() {
		return false;
	}
	
	public boolean isInterface() {
		return false;
	}
	
	public boolean isNative() {
		return false;
	}
	
	public boolean isPrivate() {
		return false;
	}
	
	public boolean isProtected() {
		return false;
	}
	
	public boolean isPublic() {
		return true;
	}
	
	public boolean isStatic() {
		return false;
	}
	
	public boolean isStrictfp() {
		return false;
	}
	
	public boolean isSynchronized() {
		return false;
	}
	
	public boolean isTransient() {
		return false;
	}
	
	public boolean isVolatile() {
		return false;
	}
}